package com.hitqz.robot.api.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Date;

/**
 * @author wengyx
 * @date 2024/8/7
 * 检测设备
 */
@TableName(value = "patrol_result")
@Data
public class PatrolResultEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @NotNull(message = "工单id不能为空")
    private Integer ticketsId;
    @NotNull(message = "工单任务id不能为空")
    private Integer ticketsTaskId;

    private String roomName;

    private String devName;

    private String itemName;

    private Integer itemId;

    private Integer patrolObjectId;

    private Date checkTime;

    private Date createTime;

    private String showValue;

    private String convertValue;

    private String visionResult;

    private String normalValue;

    private String mediaUrl;

    private String visionMediaUrl;

    private Integer status;

    private Integer uploadStatus;

    private Integer auditStatus;

    private String auditor;

    private String auditRemark;

    private Date auditTime;

}
